package com.topvision.service.impl.glass;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.topvision.mapper.glass.SysversionMapper;
import com.topvision.model.glass.Sysversion;
import com.topvision.service.glass.SysversionService;

@Service("sysversionService")
public class SysversionServiceImpl implements SysversionService {
	@Autowired
	private SysversionMapper sysversionMapper;
	
	@Override
	public Sysversion queryObject(Integer id){
		return sysversionMapper.queryObject(id);
	}
	
	@Override
	public List<Sysversion> queryList(Map<String, Object> map){
		return sysversionMapper.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return sysversionMapper.queryTotal(map);
	}
	
	@Override
	public void save(Sysversion sysversion){
		sysversionMapper.save(sysversion);
	}
	
	@Override
	public void update(Sysversion sysversion){
		sysversionMapper.update(sysversion);
	}
	
	@Override
	public void delete(Integer id){
		sysversionMapper.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		sysversionMapper.deleteBatch(ids);
	}

    @Override
    public Sysversion queryObjectByMap(Map<String, Object> map){
        return sysversionMapper.queryObjectByMap(map);
    }

    @Override
    public List<Sysversion> queryByParam(Map<String, Object> map){
        return sysversionMapper.queryByParam(map);
    }
}
